package com.example.fundamentalframe.fundmental

import com.example.fundamentallibrary.Api

object RetrofitHelper {

    fun <T> getApiService(
        clazz: Class<T>,
        baseUrl: String = Constants.BASE_URL
    ): T {
        return Api.getApiService(clazz, baseUrl)
    }

    fun getDefaultApiService() : DefaultApiService{
        return getApiService(DefaultApiService::class.java)
    }
}